/**
 * 
 */
package t4j.innerclasses;

/**
 * @author sz
 *
 * create time：2012-9-13
 */
public class DotThis {

	void f(){
		System.out.println("DotThis.f()");
	}
	
	public class Inner{
		public DotThis outer(){
			return DotThis.this;
		}
	}
	
	public Inner inner(){
		return new Inner();
	}
	
	public static void main(String[] args) {
		DotThis dt = new DotThis();
		
		DotThis.Inner a = dt.inner();
		
		DotThis b = a.outer();
		
		b.f();
		
	//	DotThis.Inner  c = new DotThis.Inner();
		
		
	}
}
